<template>
  <div class="money">
    <MoneyItem v-for="(item,index) in moneyList" :key="index" :List="item"/>
  </div>
</template>
<script>
import MoneyItem from './MoneyItem'
export default {
  name:'Money',
  components:{
    MoneyItem,
  },
  data() {
    return {
       moneyList: {
        Balance: {
          count: '0.00',
          desc: '我的余额',
          unit: '元'
        },
        Cfav: {
          count: 0,
          desc: '我的优惠',
          unit: '个'
        },
        Point: {
          count: 0,
          desc: '我的积分',
          unit: '分'
        }
      }
    }
  },
}
</script>
<style scoped>
  .money{
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    text-align: center;
  }
</style>